Creates a new EnigmaController.

Namespace: Keystone.Enigma
Assembly: Keystone.Enigma (in Keystone.Enigma.dll)

public static EnigmaController CreateWith<TEncryptionStrategy, THashingStrategy>() 
where TEncryptionStrategy : EncryptionStrategy, new() 
where THashingStrategy : HashingStrategy, new(), >, CreateWith(new, new
This language is not supported or no code example is available.

Type Parameters

TEncryptionStrategy

The type of the encryption strategy that will receive and handle data confidentiality operation requests.

THashingStrategy

The type of the hashing strategy that will receive and handle data authenticity operation requests.

Return Value

A new EnigmaController instance.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono